﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Freshome.d
{
    [ServiceContract(Namespace = "Freshome.d")]
    public interface IPublicall
    {
        [OperationContract]
        Workerole MyRolentry();
    }
    [Flags]
    [DataContract]
    public enum Workerole : byte
    {
        [EnumMember]
        None = 0x00,
        [EnumMember]
        Senior = 0x01,   // 高级用户
        [EnumMember]
        Junior = 0x02   // 普通用户
    };
}
